<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>::Happy - DTAC Prepaid Phone::</title>
<link href="${RESOURCE}/css/global.css" rel="stylesheet" type="text/css">
<link href="${RESOURCE}/css/global-en.css" rel="stylesheet" type="text/css">
<link href="${RESOURCE}/css/customize.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>

<script language="javascript">
<!--
function changePage(page)
{
    var form = document.forms['form1'];

    //Removed by Nitiwit 2009-01-07
    //if (0 == form.command.value.length)
    //{
    //    form.monthyear.value = "";
    //}

    form.method = 'post';
    form.page.value = page;
    form.submit();
}

function doChangeMonthYear()
{
    var form = document.forms[0];
    form.command.value = "change";
    form.submit();
}

function doOpenSms(val)
{
    var form = document.forms[0];
    window.open("../SMSReportPop?tranid="+val, "messagepop", "height=500, width=500, menubar=no, resizable=no, scrollbars=no, status=no, toolbar=no");
}

function include(xUrl,xId) {
  var xmlhttp = false;
  /*@cc_on @*/
  /*@if (@_jscript_version >= 5)

  // JScript gives us Conditional compilation, we can cope with old IE versions.
  // and security blocked creation of the objects.
  try {
    xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
   } catch (e) {
      try {
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (E) {
        xmlhttp = false;
      }
   }

  /*@end @*/
  if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
    xmlhttp = new XMLHttpRequest();
  }

  xmlhttp.open("GET", xUrl,true);
  xmlhttp.onreadystatechange=function() {
          if (xmlhttp.readyState==4) {
                document.getElementById(xId).innerHTML = xmlhttp.responseText;
          }
  }
  xmlhttp.send(null)
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
</head>

<body>
<div id="header">
    <%@include file="../head.jsp" %>
</div>

<div id="container">
	<div id="pathway"><a href="#" class="link2">Happy Web Services</a> > <a href="#" class="link2">Terms and conditions of SMS service</a></div>
	<div id="main">
    	<%@ include file="../menu.jsp" %>
    	<div id="content">
        	<div class="content-middle">
                
                <!--เนื้อหาเริ่มที่นี่-->  
                <form name="form1" method="post">
<input type="hidden" name="command" value="">
<input type="hidden" name="page">
<table border="0" cellspacing="0" cellpadding="0">

  <tr> 
    <td height="30" valign="top"><img src="${RESOURCE}/eng/images/14_webservice_head01.gif"></td>

  </tr>
  <tr> 
    <td height="40" class="textnormal"><table width="100%" border="0" cellspacing="2" cellpadding="5">
        <tr> 
          <td class="textnormal">Hello! <span class="textnormal_blue"><strong>วิทยา อภิมหาบุณย์</strong></span> Welcome to Happy Web Services!</td>
          <td align="right"> <table height="30" border="0" align="right" cellpadding="0" cellspacing="0">
            <tr>

              <!--<td align="center" valign="middle"><a href="/bp3/bin/Dspc/DpromptWelcome?changeLang=T"><img src="${RESOURCE}/eng/images/en_flag.gif" width="30" height="16" border="0"></a></td>
              <td width="10" align="center"><img src="${RESOURCE}/eng/images/14_webservice_breaker.gif" width="3" height="27"></td>-->
              <td align="center"><a href="/bp3/bin/DpromptIndex"><img src="${RESOURCE}/eng/images/14_webservice_logoff.gif" width="108" height="29" border="0"></a></td>
            </tr>
          </table>            </td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td height="1" bgcolor="#B4B4B4"></td>

  </tr>
  <tr> 
    <td class="textnormal"><table width="100%" border="0" cellspacing="2" cellpadding="5">
        <tr> 
          <td align="right" valign="top" class="textnormalred">This is the 46th time you've visited Happy.<br>
          The last time you logged in was on: 15/02/2011 at  10:36:53 <br>
          <span class="textnormal"><img src="${RESOURCE}/eng/images/bullet_yellow.gif" width="8" height="8"> <a href="/bp3/bin/Dspc/DpromptChangeUserInfoForm" class="textnormal_blue">Click to modify your personal information</a></span></td>
        </tr>

      </table></td>
  </tr>
  <tr> 
    <td><table width="100%" border="0" cellspacing="3" cellpadding="0">
        <tr> 
          <td width="2%"><img src="${RESOURCE}/eng/images/14_webservice_bullet01.gif" width="9" height="9"></td>
          <td width="98%" class="textnormal_bold"><img src="${RESOURCE}/eng/images/14_webservice_subtitle17n.gif" width="350" height="22"></td>
        </tr>
        <tr>
          <td>&nbsp;</td>

          <td height="40" valign="bottom" class="textnormal"><table width="100%" border="0" cellspacing="3" cellpadding="0">
            <tr>
              <td width="2%" valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
              <td width="98%"><span class="textnormal">Send </span><span class="textnormalred_bold">50</span><span class="textnormal"> SMS for free to dtac numbers. Messages sent over this monthly quota will be charged </span><span class="textnormalred_bold">2</span><span class="textnormal"> baht per message.</span></td>
            </tr>

            <tr>
              <td valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
              <td class="textnormal">Messages sent non-dtac numbers will be charged 2 baht per message.</td>
            </tr>
          </table>          </td>
        </tr>
        
        <tr>
          <td>&nbsp;</td>

          <td height="50" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="17%"><span class="textnormal_bold">For this month: </span></td>
              <td width="83%" class="textnormal">You have already sent free <span class="textnormalred_bold">0</span> message(s)</td>
            </tr>
            <tr>

              <td>&nbsp;</td>
              <td class="textnormal">You can send <span class="textnormalred_bold">50</span> more message(s)</td>
            </tr>
          </table></td>
        </tr>
        
        
      </table></td>
  </tr>

  <tr>
    <td height="15" align="left">&nbsp;</td>
  </tr>
  <tr> 
    <td align="left" class="textnormal"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td background="${RESOURCE}/eng/images/14_webservice_tabline.gif">&nbsp;</td>
                <td width="1"><a href="/bp3/bin/Dspc/DpromptSMSForm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('msg01','','${RESOURCE}/eng/images/14_webservice_msgtab01_i.gif',1)"><img src="${RESOURCE}/eng/images/14_webservice_msgtab01.gif" name="msg01" width="140" height="43" border="0"></a></td>

                <td width="1"><a href="/bp3/bin/Dspc/SMSPhoneBookList" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('msg02','','${RESOURCE}/eng/images/14_webservice_msgtab02_i.gif',1)"><img src="${RESOURCE}/eng/images/14_webservice_msgtab02.gif" name="msg02" width="140" height="43" border="0"></a></td>
                <td width="1"><a href="/bp3/bin/Dspc/SMSSchedule" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('msg03','','${RESOURCE}/eng/images/14_webservice_msgtab03_i.gif',1)"><img src="${RESOURCE}/eng/images/14_webservice_msgtab03.gif" name="msg03" width="140" height="43" border="0"></a></td>
                <td width="1"><a href="/bp3/bin/Dspc/SMSDrReport" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('msg04','','${RESOURCE}/eng/images/14_webservice_msgtab04_i.gif',1)"><img src="${RESOURCE}/eng/images/14_webservice_msgtab04_i.gif" name="msg04" width="140" height="43" border="0"></a></td>
                <td background="${RESOURCE}/eng/images/14_webservice_tabline.gif">&nbsp;</td>
            </tr>
          </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">

        <tr> 
          <td align="center" class="head"><br> 
            <table width="90%" border="0" cellspacing="2" cellpadding="2">
              <tr> 
                <td colspan="4" align="left"><span class="textnormal_bold">SMS Report : 
</span><span class="textnormalred_bold"></span></td>
              </tr>
              <tr> 
                <td colspan="4" align="left" class="head">
<table width="30%" border="0" cellspacing="2" cellpadding="0">
                    <tr> 
                      <td width="23%"><strong class="textnormal_bold">Month</strong></td>

                      <td width="77%">
                      <select name="monthyear" onchange="doChangeMonthYear()">
                      
                        <option value="0:2011">January 2011</option>
                      
                        <option value="1:2011" selected>February 2011</option>
                      
                      </select>
                      </td>
                    </tr>
                  </table>                </td>

              </tr>
              
              <tr> 
                <td colspan="4" class="head"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="1"><img src="${RESOURCE}/eng/images/14_table_01.gif" width="10" height="10"></td>
                    <td background="${RESOURCE}/eng/images/14_table_05.gif"><img src="${RESOURCE}/eng/images/14_table_05.gif" width="10" height="10"></td>
                    <td width="1"><img src="${RESOURCE}/eng/images/14_table_02.gif" width="10" height="10"></td>
                  </tr>
                  <tr>

                    <td background="${RESOURCE}/eng/images/14_table_06.gif"><img src="${RESOURCE}/eng/images/14_table_06.gif" width="10" height="10"></td>
                    <td align="center" valign="top">
                    <table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
                      <tr>
                        <td width="10%" align="center" valign="middle" bgcolor="#0ABBE0" class="textnormalwhite_bold" style="border-left:solid 1px white">No.</td>
                        <td width="20%" align="center" valign="middle" bgcolor="#0ABBE0" class="textnormalwhite_bold" style="border-left:solid 1px white">Date of entry </td>
                        <td width="20%" align="center" valign="middle" bgcolor="#0ABBE0" class="textnormalwhite_bold" style="border-left:solid 1px white">Send Date</td>

                        <td width="20%" align="center" valign="middle" bgcolor="#0ABBE0" class="textnormalwhite_bold" style="border-left:solid 1px white">Recipient No. </td>
                        <td width="10%" align="center" valign="middle" bgcolor="#0ABBE0" class="textnormalwhite_bold" style="border-left:solid 1px white">Success</td>
                        <td width="10%" align="center" valign="middle" bgcolor="#0ABBE0" class="textnormalwhite_bold" style="border-left:solid 1px white">Fail</td>
                        <td width="10%" align="center" valign="middle" bgcolor="#0ABBE0" class="textnormalwhite_bold" style="border-left:solid 1px white">Fee</td>
                      </tr>
                      
                      <tr valign="top" bgcolor="" class="textnormal">
                        <td align="center" valign="top" class="textnormal">1</td>

                        <td align="center" valign="top" class="textnormal">01/02/11 23:50</td>
                        <td align="center" valign="top" class="textnormal">01/02/11 23:50</td>
                        <td align="center" valign="top" class="textnormal">0870848883</td>
                        <td align="center" valign="top" class="textnormal">0</td>
                        <td align="center" valign="top" class="textnormal"><a href="javascript:doOpenSms('40501970:0870848883:1');" class='link2'><u>1</u></a></td>
                        <td align="center" valign="top" class="textnormal">0.0</td>

                      </tr>
                      
                    </table>
                    </td>
                    <td background="${RESOURCE}/eng/images/14_table_07.gif"><img src="${RESOURCE}/eng/images/14_table_07.gif" width="10" height="10"></td>
                  </tr>
                  <tr>
                    <td><img src="${RESOURCE}/eng/images/14_table_03.gif" width="10" height="10"></td>
                    <td background="${RESOURCE}/eng/images/14_table_08.gif"><img src="${RESOURCE}/eng/images/14_table_08.gif" width="10" height="10"></td>
                    <td><img src="${RESOURCE}/eng/images/14_table_04.gif" width="10" height="10"></td>

                  </tr>
                </table>
                  <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" class="textnormal">
                      << back page :  <a href='javascript:changePage(1)' class='link2'><u>1</u></a> next >>
                      <!--<a href="#" class="link">&lt;&lt;</a>&nbsp;&nbsp; <a href="#" class="link">back</a> page: <a href="#" class="link">1</a> <a href="#" class="link"><strong>2</strong></a> <a href="#" class="link">3</a> <a href="#" class="link">4</a> <a href="#" class="link">5</a> <a href="#" class="link">next</a> &nbsp;&nbsp;<a href="#" class="link">&gt;&gt;</a>-->

                      </td>
                    </tr>
                  </table>
                  <br>
                  <table width="100%" border="0" cellspacing="3" cellpadding="0">
                    <tr>
                      <td width="2%" valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
                      <td width="98%" align="left" class="textnormal">You can view the SMS report up to 1 month in the past.</td>

                    </tr>
                    <tr>
                      <td valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
                      <td align="left" class="textnormal">The deducted quota for all scheduled message(s) are final and will not  be returned in the event that the recipients does not receive the message (due  to their phone being switched off, due to their account being suspended or due  to their phone being positioned outside of the coverage area) or in the event  that the user cancels the scheduled SMS message.</td>
                    </tr>
                  </table></td>
              </tr>
            </table>          </td>

        </tr>
      </table>
      <br>
      <span class="head"><img src="${RESOURCE}/eng/images/14_webservice_remark.gif" width="95" height="33"></span>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="3">
        <tr>
          <td width="2%" valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
          <td width="98%" align="left" class="textnormal">Message(s) submitted  from this system is considered final and complete.</td>

        </tr>
        <tr>
          <td valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
          <td align="left" class="textnormal">Service fee & quota details</td>
        </tr>
        <tr>
          <td valign="baseline">&nbsp;</td>
          <td align="left" class="textnormal"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="3">

              <tr>
                <td width="2%" valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
                <td width="98%" align="left" class="textnormal">For sending to dtac number, the system will deduct from the monthly quota 	based on the submitted message. The deduction is final and will not be returned 	in the event that the user cancels the scheduled SMS message.</td>
              </tr>
              <tr>
                <td valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
                <td align="left" class="textnormal">For sending to non-dtac number  or sending messages over the quota, the system  will charge the users account immediately upon sending.</td>
              </tr>

          </table></td>
        </tr>
        <tr>
          <td valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>
          <td align="left" class="textnormal">This service is intended for personal use only and may not be used for  commercial purposes. </td>
        </tr>
        <tr>
          <td valign="baseline"><img src="${RESOURCE}/eng/images/bullet_grey.gif" width="9" height="9"></td>

          <td align="left" class="textnormal">Legal action will be taken should the company discover any individual  violating this condition.</td>
        </tr>
        <tr>
          <td height="10" colspan="2" valign="baseline"><img src="${RESOURCE}/tha/webservice/images/clear.gif" width="1" height="1"></td>
        </tr>
        <tr>
          <td colspan="2" valign="baseline"><a href="/bp3/bin/GuestTermOfService" class="textnormal_blue">Terms and Conditions of Happy Web Services</a><span class="textnormalred">|</span><a href="#" class="textnormalred" onClick="MM_openBrWindow('http://www.happy.co.th/eservice/sms_rules_en.php','PopUp','')">Terms of Use Web Services</a></td>

        </tr>
      </table>
    <p></p></td>
  </tr>
  <tr> 
    <td height="15" align="left"><a href="/bp3/bin/Dspc/DpromptWelcome"><img src="${RESOURCE}/eng/images/14_webservice_main.gif" border="0"></a></td>
  </tr>
  <tr> 
    <td height="15" align="center"><br></td>
  </tr>

</table>
</form>
                           
             <!--เนื้อหาสิ้นสุดที่นี่-->
                
            </div>
            <div class="content-bottom"></div>
        </div>
    </div>
</div>
<div id="footer">
<img src="${RESOURCE}/eng/images/copy_right.jpg" />
<a href="http://www.dtac.co.th" target="_blank"><img src="${RESOURCE}/eng/images/dtact_logo.jpg" border="0" /></a>
<a href="http://www.happyvirus.com" target="_blank"><img src="${RESOURCE}/eng/images/virus_icon.jpg" border="0" /></a>
</div>
</body>
</html>

